package com.zc.backend.service;

import com.zc.backend.entity.Page;
import com.zc.backend.entity.Student;

import java.util.List;

public interface StudentService {

    public List<Student> queryAll(Page page);
    public void add(Student student);
    public void delete(Integer id);
    public Student queryById(Integer id);
    public void update(Student student);
    public Integer count();
    public List<Student> queryByName(String name,Page page);
    public Integer countByName(String name);

}
